package com.wavefront.mtl.parser.line;

import com.wavefront.mtl.elements.Texture;
import com.wavefront.obj.parser.LineParser;
import com.wavefront.obj.parser.MtlParser;

public class KdMapParser extends LineParser {

	@Override
	public void parse(String[] words) {
			super.parse(words);
			Texture texture = new Texture(words[words.length - 1]);
			MtlParser.currentMaterial.setDiffuseTexture(texture); 
	}
}
